package com.hzhc.enumBean;

import java.util.stream.Stream;

/**
 * 账户状态
 */
public enum MessageCode {

    TSLYDXT("TSLYDXTZ","铁水联运通知短信");

    private String code;

    private String name;

    MessageCode(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public static Stream<MessageCode> stream() {
        return Stream.of(MessageCode.values());
    }
}